package cn.springcloudtest.mapper;

import cn.springcloudtest.pojo.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LogMapper {

    public Log getLogById(@Param(value = "id") Integer id) throws Exception;

    public List<Log> getLogListByMap(Map<String, Object> param) throws Exception;

    public Integer getLogCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertLog(Log log) throws Exception;

    public Integer updateLog(Log log) throws Exception;

    public Integer deleteLogById(@Param(value = "id") Integer id) throws Exception;

}
